package com.wtf.dsp.admin.annotation;

import com.baomidou.mybatisplus.annotation.DbType;

import java.lang.annotation.*;

/**
 * description: 数据库类型枚举
 * date: 2022/6/18 10:59
 * @author linhuanyou
 * @email 496558736@qq.com
 * @version 1.0
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface DbTypeFlag {
    /**
     * 数据库裂隙，默认MYSQL
     * @return
     */
    DbType dbType() default DbType.MYSQL;
}
